<?php
class renderer_field extends renderer_base
{
  
   	public function render($fObject, $renderMode = 'view', $config = array())
	{
		
		$this->lead->viewer->assign('fObject', $fObject);
		$this->lead->viewer->assign('config', $config);
		
		return $this->lead->viewer->fetch("{$this->path}/{$this->folderName}/{$renderMode}.tpl");
		
		
	}

}